package cn.uyunsky.platform.taglib;

/**
 * @author baiyh
 * @version 1.0
 * @date 2012-7-25
 */
public class Combox2InputTag extends BaseInputTag {

    private static final long serialVersionUID = 1L;
    private static String STYLE_CLASS = "uyunsky_combox2";

    private String combox;
    private String listWidth;
    private String listHeight;

    public void setCombox(String combox) {
        this.combox = combox;
    }

    public void setListWidth(String listWidth) {
        this.listWidth = listWidth;
    }

    public void setListHeight(String listHeight) {
        this.listHeight = listHeight;
    }

    public Combox2InputTag() {
    }

    protected String prepareOtherClass() {
        return STYLE_CLASS;
    }

    protected void prepareOtherAttributes(StringBuffer results) {
        prepareAttribute(results, "combox", combox);
        prepareAttribute(results, "listWidth", listWidth);
        prepareAttribute(results, "listHeight", listHeight);
    }

}
